<%@ page language="java" pageEncoding="UTF-8"%>
<%@ page import="org.ly.uap.client.authentication.AttributePrincipal" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>My JSP 'index.jsp' starting page</title>
	</head>

	<body>
		<%  
			AttributePrincipal principal = (AttributePrincipal)request.getUserPrincipal();
			String username = principal.getName();   		
			System.out.println(username);
		%>
	</body>
</html>
